# $Id: PKGBUILD 86510 2013-03-18 12:24:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Andre Wayand <aur-perl-html-formattext@awayand.sleepmail.com>

pkgname=perl-html-formattext
pkgver=2.10
pkgrel=2
pkgdesc="Format HTML as plaintext"
arch=('any')
url="http://search.cpan.org/dist/HTML-Format/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-file-slurp' 'perl-font-afm' 'perl-html-tree')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/N/NI/NIGELM/HTML-Format-$pkgver.tar.gz")
md5sums=('34831ec506eaa8a7ad5da698224cf58d')

build() {
  cd "$srcdir/HTML-Format-$pkgver"
  perl Build.PL installdirs=vendor destdir="$pkgdir/"
  perl Build
}

package() {
  cd "$srcdir/HTML-Format-$pkgver"
  perl Build install
}
